<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<ul class="ul-style">
	<form class="form-horizontal buyinfor-form" id="commentFormc">
		<div class="current-state saveInfo">
			<div class="submit-buttonleft">
				<button class="btn-danger-my btn dpbtn_blue" type="button"
					id="saveCar">保存</button>
			</div>
		</div>
		<div class="business-man">车辆信息</div>
		<div class="padding-nono tancQa">
			<table cellpadding="0" cellspacing="0" border="0"
				class="buyinfor-table" id="used-car">
				<tr>
					<td align="right"><label class="control-label np">车辆车型：</label>
					</td>
					<td colspan="3">
					<input type="text" placeholder="请输入汽车品牌(必填)" required="required" id="carName" class="form-control smalliconcur smallicon"
						name="carName" onclick="carcho(false,this.value);" /> 
					<input type="hidden" id="carModel" name="carModel" /> 
					<input id="carBrand" name="carBrand" type="hidden" /> 
					<input id="carSeries" name="carSeries" type="hidden" /> 
					<input type="hidden" id="nameCarModel" name="nameCarModel" /> 
					<input id="nameCarBrand" name="nameCarBrand" type="hidden" /> 
					<input id="nameCarSeries" name="nameCarSeries" type="hidden" />
					<input id="carId" name="carId" type="hidden"></td>
					<div id="seriesSelector" class="div_empNob"></div>
					<td align="right"><label class="control-label np">新车指导价：</label></td>
					<td>
						<input id="priceNewcar" name="priceNewcar" readonly="readonly" class="form-control"/>
					</td>
				</tr>
				<tr>
					<td align="right"><label class="control-label np">车辆性质：</label></td>
					<td><mytag:selectTag id="carType" name="carType"
							map="${carType }" others="class='select-control' required='required'" /></td>

					<td align="right"><label class="control-label np">原产地：</label></td>
					<td><mytag:selectTag id="carPlace" name="carPlace"
							map="${carPlaceType }" others="class='select-control' required='required'" /></td>

					<td align="right"><label class="control-label np">座位数：</label></td>
					<td><input id="seatNum" name="seatNum" placeholder="(必填)"
						required="required" class="form-control" type="number" min="0"
						max="50" /></td>
				</tr>

				<tr>
					<td align="right"><label class="control-label np">购买价：</label>
					</td>
					<td><input id="price" name="price" placeholder="必填，不能为0"
						class="form-control" type="text" 
						onkeyup="value=value.replace(/[^\-?\d.]/g,''); changePrice();"
						onafterpaste="value=value.replace(/[^\-?\d.]/g,''); changePrice();" required="required"/></td>

					<td align="right"><label class="control-label np">上牌地：</label></td>
					<td><input id="registrationArea" name="registrationArea" placeholder="上牌地(必填)" required="required" readonly="readonly"
						class="form-control smalliconcur smallicon" onclick="cityChoice(this);" type="text" /></td>

					<td align="right"><label class="control-label np">上牌类型：</label></td>
					<td><mytag:selectTag id="licencePlateType"
							name="licencePlateType" map="${licencePlateType }"
							others="class='select-control' required='required'" /></td>
				</tr>

				<tr>
					<td align="right">
						<label class="control-label np">车辆类别：</label>
					</td>
					<td>
						<mytag:selectTag id="categoryCar" name="categoryCar" map="${carCategoryType }" others="class='select-control' required='required'"/>
					</td>
					<td align="right"><label class="control-label np">行驶证车主：</label>
					</td>

					<td><input id="carOwnersName" name="carOwnersName"
						placeholder="行驶证车主(必填)" required="required" class="form-control"
						type="text" /></td>
				</tr>
				<tr class="">
					<td align="right"><label class="control-label np">启用日期：</label></td>
					<td><input id="startDate" name="startDate" required="required"
						type="text" placeholder="启用日期(必填)"
						onclick="laydate({max:laydate.now(),choose:function(date){countLoanMonth(date);},istoday: false});"
						class="laydate-icon select-control"
						onkeyup="countLoanMonth(this.value);"
						onafterpaste="countLoanMonth(this.value);" /></td>

					<td align="right" style="display: none;"><label
						class="control-label np">启用年份：</label></td>
					<td style="display: none;"><input id="startYear"
						name="startYear" required="required" type="hidden"
						class="select-control" /></td>

					<td align="right" style="display: none;"><label
						class="control-label np">启用月份：</label></td>
					<td style="display: none;"><input id="startMonth"
						name="startMonth" required="required" type="hidden"
						class="select-control" /></td>

					<td align="right"><label class="control-label np">车况：</label></td>

					<td><mytag:selectTag id="carStatus" name="carStatus"
							map="${carStatus }" others="class='select-control' required='required'" /></td>
				</tr>

				<tr>

					<td align="right"><label class="control-label np">用途：</label></td>
					<td><mytag:selectTag id="carPurpose" name="carPurpose"
							map="${carPurpose }" others="class='select-control' required='required'" /></td>


					<td align="right"><label class="control-label np">估价省：</label></td>
					<td><mytag:selectTag id="province" name="province"
							map="${provinces }" others="class='select-control' required='required'" /></td>

					<td align="right"><label class="control-label np">估价市：</label></td>
					<td><mytag:selectTag id="city" name="city" map="${cities }"
							others="class='select-control' required='required'" /></td>
				</tr>
				<tr>
					<td align="right"><label class="control-label np">里程：</label>
					</td>
					<td><input id="mileage" name="mileage" placeholder="里程(必填)"
						required="required" class="form-control" type="number" min="1"
						id="" name="" /></td>
					<td align="right"><label class="control-label np">车架号：</label></td>
					<td><input id="vin" name="vin" class="form-control"  placeholder="车架号(必填)" required="required" type="text" /></td>
				</tr>
			</table>

			<!-- <div class="gu-price" >
				<button id="exactEstimation" class="btn dpbtn_green" type="button">系统估价</button>
				<span id="exactEstimationResult"><span>
			</div> -->
		</div>
	</form>
	<div class="business-manwife">备注</div>
	<div class="padding-nono">
		<div class="bus-class_table">
			<table cellpadding="0" cellspacing="0" border="0"
				bordercolor="#3B95C8" width="100%">
				<tr>
					<td width="90%" align="left">
						<div class="ibox-content no-padding">
							<div class="summernote2" id="car_remarks" name="car_remarks"></div>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</div>
	<!-- 车贷信息 -->
	<%@include file="/web/system/yw/loan_include.jsp"%>
</ul>

